<div class="bg-h2">
    <h2 class="cufon">Tin Tức</h2>
</div>
<?php
if (sizeof($arrNews['data']) > 0)
{
    foreach ($arrNews['data'] as $news)
    {
?>
        <div class="pad-left">
            <div class="text text-top1">
                <?php echo strftime('%b %d, %Y', $news['created_on']); ?>
            </div>
            <a href="<?php echo base_url().'tin-tuc/'.$news['slug'].'/'.$news['id'].'.html'; ?>" class="link1" title="<?php echo $news['title']; ?>">
                <h4 class="cufon color pad-top1"><?php echo $news['title']; ?></h4>
            </a>
            <div>
                <?php echo $news['intro']; ?>
                <div class="wrapper">
                    <a class="link2 fright" href="<?php echo base_url().'tin-tuc/'.$news['slug'].'/'.$news['id'].'.html'; ?>">xem chi tiết</a>
                </div>
            </div>
        </div>
        <div class="border border-pad3"></div>
<?php
    }
}
?>
<div class="wrapper">
<?php echo $this->pagination->create_links(); ?>
</div>